Automatic generation of simplified weakest preconditions for integrity constraint verification

نویسندگان

  • Ahmed Ait-Bouziad
  • Irène Guessarian
  • Laurent Vieille
چکیده

Given a constraint c assumed to hold on a database B and an update u to be performed on B, we address the following question: will c still hold after u is performed? When B is a relational database, we define a confluent terminating rewriting system which, starting from c and u, automatically derives a simplified weakest precondition wp(c, u) such that, whenever B satisfies wp(c, u), then the updated database u(B) will satisfy c, and moreover wp(c, u) is simplified in the sense that its computation depends only upon the instances of c that may be modified by the update. We then extend the definition of a simplified wp(c, u) to the case of deductive databases; we prove it using fixpoint induction.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using Weakest Preconditions to Simplify Integrity Constraint Checking

We present a procedure for deriving the weakest precondition for a database update and an integrity constraint. We show how to simplify the weakest precondition to produce a condition to be evaluated before the update is performed. This provides an efficient means to ensure that database updates maintain integrity constraints.

متن کامل

Efficient weakest preconditions

Desired computer-program properties can be described by logical formulas called verification conditions. Different mathematically-equivalent forms of these verification conditions can have a great impact on the performance of an automatic theorem prover that tries to discharge them. This paper presents a simple weakest-precondition understanding of the ESC/Java technique for generating verifica...

متن کامل

Verifying and Generating WP Transformers for Procedures on Complex Data

We present the formalized theory of a weakest precondition calculus for procedures on complex data with integrity constraints. The theory defines the assertion language and the wp-transformer. It contains the proofs for soundness and “weakestness” of the preconditions. Furthermore, we formalize a normalization process that eliminates all elementary updates from preconditions. This normalization...

متن کامل

Efficient Directionless Weakest Preconditions (CMU-CyLab-10-002)

Verification condition (VC) generation is a fundamental part of many program analysis and applications, including proving program correctness, automatic test case generation, and proof carrying code. One might imagine VC applications would use the theoretically most appealing VC generation algorithm. This is often not the case. The most theoretically appealing algorithms are based upon weakest ...

متن کامل

Constraint-Based Invariant Inference over Predicate Abstraction

This paper describes a constraint-based invariant generation technique for proving the validity of safety assertions over the domain of predicate abstraction in an interprocedural setting. The key idea of the technique is to represent each invariant in bounded DNF form by means of boolean indicator variables, one for each predicate p and each disjunct d denoting whether p is present in d or not...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/cs/0603053  شماره 

صفحات  -

تاریخ انتشار 2006